package com.college.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.college.dao.impl.UserCredentialsDaoImpl;
import com.college.domain.User;
import com.college.service.UserCredentialsService;

public class UserCredentialsServiceImpl implements UserCredentialsService {

	@Autowired
	UserCredentialsDaoImpl userCredentialsDao;
	
	@Override
	public boolean addUserCredentials(User user) {
		return userCredentialsDao.addUserCredentials(user);
	}

	@Override
	public boolean deleteUserCredentials(String userName) {
		return userCredentialsDao.deleteUserCredentials(userName);
	}

}
